home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
016a
/
echoo.zip
/
CHOO.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-10-25
|
2KB
|
86 lines
@echo off
echoo Loading Echoo... /t
echoo /f-abstract.txt /bg1/p /b
echoo /f-echoo.txt /b/s/bg1/p/l
echoo Here comes some errorlevel checking - /p/m/b/s/bg5
echoo /dosver
if errorlevel 50 goto 50
echoo DOS Version is NOT 5.0!
goto nextdos
:50
echoo DOS Version 5.0 Present
:nextdos
echoo /mouse
if errorlevel 10 goto mouse
echoo No Mouse Present
goto nextmouse
:mouse
echoo Mouse Present
:nextmouse
echoo /ext
if errorlevel 10 goto no
echoo No extended memory
goto endt
:no
echoo Extended memory present
:endt
echoo /exp
if errorlevel 10 goto nox
echoo No expanded memory
goto endx
:nox
echoo Expanded memory present
:endx
echoo /cpu
if errorlevel 20 goto 386
if errorlevel 10 goto 286
echoo 8086/8088 processor
goto endcpu
:386
echoo 80386/80486 processor
goto endcpu
:286
echoo 80286 processor
:endcpu
echoo /cop
if errorlevel 10 goto proc
echoo No coprocessor
goto endproc
:proc
echoo Math coprocessor present
:endproc
echoo /drivea
if errorlevel 10 goto diskerr
echoo Drive A: is OK!
goto enddisk
:diskerr
echoo Drive A: is not ready.
:enddisk
echoo The next screen will show the information about your computer /p
echoo /info /bg1
echoo /p
echoo /ascii /bg5/fg15
echoo /p
echoo /colors /bg3
echoo /p
echoo /bg5
echoo Do You Like This Demo So Far? /y/b/bg1/s
if errorlevel 10 goto yesido
echoo How Come You Dont Like It?/p/bg0
goto nextido
:yesido
echoo I am glad you like it! /p/bg0
:nextido
echoo /f-c:\config.sys /b/bg-1/c
echoo This is a sample of a file display - & the end of the demo! /s/b/bg5